package com.shopping.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shopping.po.Stock;

public interface StockDao {
	public List<Stock> findStockByAll();
	public List<Stock> findGoodsByStatus(String status);
	public void updateGoodsByStatus(@Param("stock_id")Integer stock_id,@Param("status")String status);
	public Stock findGoodsById(@Param("stock_id")Integer stock_id);
	public void updateStock(Stock stock);
	public void insertStock(Stock stock);
	public void deleteStockById(@Param("stock_id")Integer stock_id);
	public Stock selectStockById(@Param("stock_id")Integer stock_id);
}
